package org.ypx.center.service.impl;

import org.springframework.stereotype.Service;
import org.ypx.center.service.IRightService;
import org.ypx.db.entity.Permission;
import org.ypx.shared.common.Result;

import java.util.List;

/**
 * @author tingwen
 * @date 2017/3/28 20:45
 * @description
 */
@Service
public class RightServiceImpl extends BaseServiceImpl<Permission> implements IRightService {

    @Override
    public Result<List<Permission>> selectByKey(Object key) {
        return super.selectByKey(key);
    }

    @Override
    public Result<List<Permission>> save(Permission entity) {
        return super.save(entity);
    }

    @Override
    public Result<List<Permission>> delete(Object key) {
        return super.delete(key);
    }

    @Override
    public Result<List<Permission>> updateAll(Permission entity) {
        return super.updateAll(entity);
    }

    @Override
    public Result<List<Permission>> updateNotNull(Permission entity) {
        return super.updateNotNull(entity);
    }

//    @Override
//    public Result<Permission> selectByExample(Object example) {
//        return super.selectByExample(example);
//    }
//
//    @Override
//    public Result<Permission> selectByUser(Object example, int page, int rows) {
//        return super.selectByUser(example, page, rows);
//    }
}
